Added CheerpJ extension docs (Debug & File handling)#375
Added CheerpJ extension docs (Debug & File handling)#375rijulshrestha wants to merge 11 commits intomainfrom
Conversation
|
Great job already! The overall flow of the new pages is really nice and they are not too overloaded. Debug page input:
File pages:
|
GabrielaReyna
left a comment
There was a problem hiding this comment.
Just some extra suggestions with vocabulary to avoid confusion between the local filesystem and the virtual one. More than that, very good.
Co-authored-by: Ana Gabriela Reyna <gabrielareynaflores@gmail.com>
epanholz
left a comment
There was a problem hiding this comment.
I think we should add a more general section at the start of the debug docs that describe how to verify if the extension is working or not.
For the AppletRunner:
- Is the extension pinged?
- Is the extension enabled?
- Is there an Applet and does it start?
- Network errors?
Everything above works as it should, reach out to use so we can help and provide these logs -> Enable debug mode and collect logs
For the JNLPRunner:
- Extensions enabled?
- Correct extension?
Start page?- JNLP File gets download instead of start page shows -> use drag and drop to test
Everything above works as it should, reach out to use so we can help and provide these logs -> Enable debug mode and collect logs
Feel free to add anything else you might think could be useful and help users
The structure of the file handling file is a bit confusing. There is a lot of repeating sections and headers with similar titles. I think we just need 3 sections, introductions, uploads and downloads.
| ## Method 2: Using the built-in file picker | ||
|
|
||
| If the Java applet uses a standard Java File Dialog (for example, `JFileChooser`), CheerpJ provides an integrated way to handle local files without leaving the applet's UI. |
There was a problem hiding this comment.
This sections should be called something like Using the window title bar
Then explain then windows/frames/dialogs that have a title bar will have a new upload icon. The main Applet frame is normally undercoated, meaning it has no title bar, so mentioning file dialogs and extra windows is useful here.
epanholz
left a comment
There was a problem hiding this comment.
Left two more small comments for the file system docs.
For the debug page: Please add a URL to our discord and the github issues page for the extensions so users know how they can reach out to us.
The rest looks good to me. Please go ahead and remove the JNLPRunner docs so we can merge the AppletRunner version for now. Please also add some screenshots to the AppletRunner docs of the debug option and the file upload button.
e56be23 to
53145e3
Compare
Deploying labs-browserpod-previews with
|
| Latest commit: |
53145e3
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://351b84b7.labs-browserpod-previews.pages.dev |
| Branch Preview URL: | https://cheerpj-jnlp-docs.labs-browserpod-previews.pages.dev |
|
I've removed the JNLP Runner Extension docs from here and created another branch |
No description provided.